home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
3_qtips.zip
/
TECH15.MSG
< prev
Wrap
Text File
|
1992-10-29
|
3KB
|
63 lines
A QEdit Tip from the SemWare Technical Support Staff
.. Eliminating all tabs in your file ..
Have you ever wanted to get rid of _all_ the tabs (ASCII 9) that
are in your text file? It gets pretty frustrating trying to
figure out how to do this, right? This is a question that the
SemWare Technical Support Staff is often asked. In response, we
have developed the following steps to eliminate all tabs in a
text file.
How do I eliminate ALL the tabs in my text file?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Run QCONFIG.EXE and select the T)abs option.
2. Set the following option to read 'Y':
Do you want the editor to start in Physical Tab
Expansion Mode (Y/N)?
3. Set the following option to read 'N':
Do you want the editor to start in Tabs Out mode (Y/N)?
4. S)ave your changes and exit QCONFIG.EXE
5. Load your file into QEdit and go to the beginning of
the file.
6. Mark the first line using the MarkLine <Alt L> command.
Then go to the end of the file and MarkLine again.
7. Use the ShiftRight <Shift F8> command, then the
ShiftLeft <Shift F7> command. This will toggle each
line in the file as edited.
8. Save the file. All the tabs (ASCII 9) will now be
eliminated from your text file.
If you find that you are performing the above steps often, you
can use the following macro to automate steps 6 - 8. It will
remove all the tabs (ASCII 9) from your file after you make the
QCONFIG settings specified above and then save the file.
<key> MacroBegin BegFile UnMarkBlock MarkLine EndFile
ShiftRight ShiftLeft UnMarkBlock SaveFile
NOTE: <key> is the key to which you should tie this macro. This
must all be on one line in your QCONFIG.DAT file. Once you
have added the macro to your keyboard, run QCONFIG.EXE to
install the changes. To use QCONFIG.EXE, first run it, then
press return to accept Q.EXE, press K for keys, press
return to accept QCONFIG.DAT, and finally press S to save
your changes.
Matthew Giles (SemWare Technical Support)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did you miss some of the previous Tips? Don't worry, you can
download QEdit Tips 1-15 (Filename: ALLQTIPS.ZIP) on the SemWare
Support BBS (404-641-8968).